package iosu.java.games.razer.server;

import java.util.Arrays;

public class ServerResponse {
	private ServerState st;
	private String msg;
	private int i;
	private String[] names;
	
	public ServerState getSt() {
		return st;
	}
	public void setSt(ServerState st) {
		this.st = st;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	public ServerResponse(){}
	
	public ServerResponse(String s){
		this.msg = s;
	}
	public ServerResponse(ServerState t){
		this.st = t;
	}
	public ServerResponse(ServerState t, String s){
		this.msg = s;
		this.st = t;
	}
	public ServerResponse(ServerState t, String[] s){
		this.st = t;
		this.names=s;
	}
	
	public ServerResponse(ServerState t, int i){
		this.st = t;
		this.i = i;
	}
	public int getI() {
		return this.i;
	}
	public void setI(int i) {
		this.i = i;
	}
	public String[] getNames() {
		return this.names;
	}
	public void setNames(String[] names) {
		this.names = names;
	}
	@Override
	public String toString() {
		return "ServerResponse [st=" + st + ", msg=" + msg + ", i=" + i
				+ ", names=" + Arrays.toString(names) + "]";
	}
	
	
}
